package com.peanut.huibutie.common;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Getter
public class AppConfig {
    @Value("${huibutie.app.id:1}")
    private String appId;
    @Value("${huibutie.app.secret:dasdmasldlaslgmkgnj}")
    private String appSecret;
    @Value("${huibutie.host:https://testgateway.serviceshare.com/cloud-caring/openapi/}")
    private String host;
//    // 仅仅是为了测试使用。 实际生产时不需要
//    private String testOpenId="dasdmasldlaslgmkgnj";


    public static final String GetAccessTokenByAuthCode_URL="oauth/access_token";
    public static final String CreateAccessToken_URL = "oauth/access_token/create";
    public static final String GetEmployeeInfo_URL = "oauth/employee_info";
    public static final String Cashier_URL = "pay/cashier";
    public static final String PayResultQuery_URL = "pay/pay_query";
    public static final String Refund_URL = "pay/refund";
    public static final String FX_OAUTH_URL = "oauth/app_url";
}
